Good practices when optimizing HTML5/Javascript Game Developement [closed]

Posted by hustlerinc on Game Development See other posts from Game Development or by hustlerinc
Published on 2012-04-02T06:46:58Z Indexed on 2012/04/02 11:44 UTC
Read the original article Hit count: 218

Filed under:
|

I'm just starting out as a game developer and have created a few crappy but playable clones of classic games like pong, and bomberman. Being self taught (bless the internet) I do this by just stuffing in code to make the games work.

Now I feel the time has come to create something complete, for this I need to know how a game is structured. I've searched on the web but there isn't that much to be found. The only "high-level" language I know is javascript so reading a tutorial or article based on C++ doesn't help me that much.

I'm looking for good resource's pedagogically covering the theory and possibly examples (in Javascript or pseudo code that is understandable for a beginner) of how the game pieces fit together.

From the start screen to asset loading and running the game loop. I'm not looking for anything complicated like reading through a 4000 line source code. All I want to learn is where, how and when the main parts of every game should be called.

If you know any good resources to share, or maybe even have an answer for me I would deeply appreciate it.

© Game Development or respective owner

Related posts about html5

Related posts about optimization